home *** CD-ROM | disk | FTP | other *** search
/ Adobe Graphics & Publishing SDK 1996 December / Adobe Graphics & Publishing SDK 1996 December.iso / mac / Photoshop 4.0 SDK r2 Mac / Examples / Common / Rez-files.r / PIUtilities.r < prev    next >
Encoding:
Text File  |  1996-11-11  |  2.5 KB  |  73 lines  |  [TEXT/CWIE]

  1. /*
  2.     File: PIUtilities.r
  3.  
  4.     Copyright (c) 1990-1, Thomas Knoll.
  5.     Copyright (c) 1992-6, Adobe Systems Incorporated.
  6.     All rights reserved.
  7.  
  8.     Rez source file for Plug-in Utilities.
  9. */
  10.  
  11. /********************************************************************************/
  12. // Version information for SDK releases
  13.  
  14. #define ReleaseString    "2 (11/96)"
  15.  
  16. // These are generic.  Override if you need to
  17. #define StringResource    'STR '
  18. #define ResourceID        16000
  19. #define AboutID            ResourceID
  20. #define uiID            ResourceID+1
  21. #define AlertID            16990
  22. #define kBadNumberID    AlertID
  23. #define kBadDoubleID    kBadNumberID+1
  24. #define kNeedVers        kBadDoubleID+1
  25. #define kWrongHost        kNeedVers+1
  26.  
  27. /********************************************************************************/
  28. /* Alert strings */
  29.  
  30. resource StringResource (kBadNumberID, "Bad number", purgeable)
  31. {
  32.     "An integer is required between ^1 and ^2."
  33. };
  34.  
  35. resource StringResource (kBadDoubleID, "Bad double", purgeable)
  36. {
  37.     "A decimal number is required between ^1 and ^2."
  38. };
  39.  
  40. resource StringResource (kNeedVers, "Need vers", purgeable)
  41. {
  42.     "This plug-in requires Adobe Photoshop¿ ^1 or later functionality."
  43. };
  44.  
  45. resource StringResource (kWrongHost, "Wrong host", purgeable)
  46. {
  47.     "This plug-in is incompatible with this version of the host program."
  48. };
  49.  
  50. //----------------------------------------------------------------------------------------
  51. // Descriptor for allowing filters to animate over time. A structure of this type can be
  52. // added to a 'VFlt', an 'AFlt', or a PhotoShop filter to describe the data structure of
  53. // its data blob. Specify pdOpaque for any non-scalar data in the record, or data that you
  54. // don't want Premiere to interpolate for you. Make the FltD describe all the bytes in the
  55. // data blob. Use ID 1000.
  56. //----------------------------------------------------------------------------------------
  57. type 'FltD' {
  58.     array {
  59.         integer                    // Specifies the type of the data
  60.             pdOpaque = 0,            // Opaque - don't interpolate this
  61.             pdChar = 1,                // Interpolate as signed byte
  62.             pdShort = 2,            // Interpolate as signed short
  63.             pdLong = 3,                // Interpolate as signed long
  64.             pdUnsignedChar = 4,        // Interpolate as unsigned byte
  65.             pdUnsignedShort = 5,    // Interpolate as unsigned short
  66.             pdUnsignedLong = 6,        // Interpolate as unsigned long
  67.             pdExtended = 7,            // Interpolate as an extended
  68.             pdDouble = 8,            // Interpolate as a double
  69.             pdFloat = 9;            // Interpolate as a float
  70.         integer;                // Count of bytes to skip with pdOpaque, 0 otherwise.
  71.     };
  72. };
  73.